

<%@ page import="com.consorzioimpresa.resuite.domain.TipologiaImmobile"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="layout" content="springSecurityUI" />
<g:set var="entityName"
	value="${message(code: 'tipologiaImmobile.label', default: 'TipologiaImmobile')}" />
<title>Modifica Tipologia Immobile</title>
</head>
<body>
	<div class="nav">
<span class="menuButton"><g:link class="list" action="list">
				Lista Tipologia Immobili
			</g:link>
		</span> 
		<span class="menuButton"><g:link class="create"
				action="create">
				Crea Nuova Tipologia Immobile
			</g:link>
		</span>
	</div>
	<div class="body">
		<h1>
			Modifica Tipologia Immobile
		</h1>
		<g:if test="${flash.message}">
			<div class="message">
				${flash.message}
			</div>
		</g:if>
		<g:hasErrors bean="${tipologiaImmobileInstance}">
			<div class="errors">
				<g:renderErrors bean="${tipologiaImmobileInstance}" as="list" />
			</div>
		</g:hasErrors>
		<g:form method="post">
			<g:hiddenField name="id" value="${tipologiaImmobileInstance?.id}" />
			<g:hiddenField name="version"
				value="${tipologiaImmobileInstance?.version}" />
			<div class="dialog">
				<table>
					<tbody>

						<tr class="prop">
							<td valign="top" class="name"><label for="descrizione"><g:message
										code="tipologiaImmobile.descrizione.label"
										default="Descrizione" /></label></td>
							<td valign="top"
								class="value ${hasErrors(bean: tipologiaImmobileInstance, field: 'descrizione', 'errors')}">
								<g:textField name="descrizione"
									value="${tipologiaImmobileInstance?.descrizione}" />
							</td>
						</tr>

						<tr class="prop">
							<td valign="top" class="name"><label for="nome"><g:message
										code="tipologiaImmobile.nome.label" default="Nome" /></label></td>
							<td valign="top"
								class="value ${hasErrors(bean: tipologiaImmobileInstance, field: 'nome', 'errors')}">
								<g:textField name="nome"
									value="${tipologiaImmobileInstance?.nome}" />
							</td>
						</tr>

					</tbody>
				</table>
			</div>
			<div class="buttons">
				<span class="button"><g:actionSubmit class="save"
						action="update"
						value="Salva" /></span>
				<span class="button"><g:actionSubmit class="delete"
						action="delete"
						value="Elimina"
						onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
			</div>
		</g:form>
	</div>
</body>
</html>
